package edu.towson.greenteam.offer;

public class Offer {

	private int id;
	private String name;
	private String description;
	private int percentDiscount;
	private double minTabValue;	
	
	public Offer(String name, int percentDiscount, double minTabValue) {
		this.name = name;
		this.percentDiscount = percentDiscount;
		this.minTabValue = minTabValue;
	}
	
	public Offer(String name, String description, int percentDiscount, double minTabValue) {
		this.name = name;
		this.description = description;
		this.percentDiscount = percentDiscount;
		this.minTabValue = minTabValue;
	}
	
	public Offer(int id, String name, String description, int percentDiscount, double minTabValue) {
		this.id = id;
		this.name = name;
		this.description = description;
		this.percentDiscount = percentDiscount;
		this.minTabValue = minTabValue;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public int getOfferAmt() {
		return percentDiscount;
	}
	
	public void setOfferAmt(int discount) {
		this.percentDiscount = discount;
	}

	public double getMinTabValue() {
		return minTabValue;
	}
	
	public void setMinTabValue(float minTabValue) {
		this.minTabValue = minTabValue;
	}	
}
